﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace Runtime.Core.GameBehaviour
{
    public class BehaviourHelper : MonoBehaviour
    {
        List<IGameUpdateBehaviour> updataList = new List<IGameUpdateBehaviour>();

        //Dictionary<string, BehaviourEventInfo?> dict = new Dictionary<string, BehaviourEventInfo<>>();
        BehaviourEventInfo<IGameUpdateBehaviour> updateList = new BehaviourEventInfo<IGameUpdateBehaviour>();
        Hashtable map = new Hashtable();

        void init()
        {
            map = new Hashtable
            {
                ["IGameUpdateBenaviour"] = new BehaviourEventInfo<IGameUpdateBehaviour>(),
                ["IGameStartBehaviour"] = new BehaviourEventInfo<IGameStartBehaviour>(),
                ["IGameAwakeBehaviour"] = new BehaviourEventInfo<IGameAwakeBehaviour>(),
            };
        }

        void Start()
        {
        }

        void Update()
        {
        }

        public void Add(IGameBehaviourObject gameBehaviourObject)
        {
        }
    }
}